package com.rimi.bbs.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 错误页面配置
 */
@Controller
@RequestMapping("/error")
public class ErrorController {

    @RequestMapping("/404")
    public String page404(){
        return "/other/404";
    }

    @RequestMapping("/500")
    public String page500(){
        return "/other/404";
    }

}
